package club.hicode.daydayup.aop.test;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

/**
 * 测试
 *
 * @author Liu Chunfu
 * @date 2018-07-24 下午4:18
 **/
public class MyTestIntercetor implements MethodInterceptor {

    @Override
    public Object invoke(MethodInvocation invocation) throws Throwable {
        System.out.println("begin..");
        Object proceed = invocation.proceed();
        System.out.println("end..");
        return proceed;
    }
}
